package top.wardyan.wdev.dbassist.service.impl;

import top.wardyan.wdev.dbassist.model.MasterModel;
import top.wardyan.wdev.dbassist.service.IMasterService;

public class MasterServiceImpl<T extends MasterModel<T>> extends top.wardyan.base.service.impl.MasterServiceImpl<T> implements IMasterService<T> {

	public MasterServiceImpl(T dao) {
		super(dao);
	}

	@Override
	public T findByXName(String xName) {
		return this.findBySql(this.sql + " WHERE xName = ?", xName);
	}

}
